FROM openjdk:8-jre
WORKDIR /photo
COPY photo-0.0.1-SNAPSHOT.jar .
VOLUME ["photo"]
EXPOSE 8080
ENTRYPOINT ["java", "-jar","/photo/photo-0.0.1-SNAPSHOT.jar","--spring.profiles.active=prod"]
